cURL
curl --request POST \ --url https://api.getmaxim.ai/v1/prompt-partials/versions \ --header 'Content-Type: application/json' \ --header 'x-maxim-api-key: <api-key>' \ --data ' { "workspaceId": "<string>", "promptPartialId": "<string>", "content": "<string>", "description": "<string>" } '
{ "data": { "id": "<string>", "promptPartialId": "<string>", "version": 123, "description": "<string>", "content": "<string>", "createdById": "<string>", "createdAt": "<string>", "updatedAt": "<string>", "deletedAt": "<string>" } }
Create a new version for a prompt partial
API key for authentication
Unique identifier for the workspace
Unique identifier for the prompt partial
Content of the prompt partial version
Description of the prompt partial version
Prompt partial version created successfully
Show child attributes
Was this page helpful?